import request from '@/utils/requestMd5'

export function login(data) {
  return request({
    url: '/login',
    method: 'post',
    data:data
  })
}

export function getInfo(params) {
  return request({
    url: '/index',
    method: 'get',
    params
  })
}

export function logout(params) {
  return request({
    url: '/logout',
    method: 'get',
    params
  })
}

export function info(params) {
  return request({
    url: '/info',
    method: 'get',
    params
  })
}